﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataType.aspx.cs" Inherits="ArtLand.OA.Project.SystemMgr.DataType" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
    <script src="../js/WebCommon.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="RegionPanel1" />
        <ext:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
            <Regions>
                <ext:Region ID="Region1" ShowBorder="false" ShowHeader="false" Split="true" EnableSplitTip="true"
                    CollapseMode="Mini" Margins="0 0 0 0" Width="160px" Position="Left" Layout="Fit"
                    runat="server">
                    <Items>
                        <ext:Tree ID="Mgr_Tree" OnNodeCommand="treeMenu_NodeCommand" AutoScroll="true" runat="server" Title="辅助资料类别" ShowBorder="false" BodyPadding="5px">
                            <Toolbars>
                                <ext:Toolbar>
                                    <Items>
                                        <ext:Button runat="server" ID="btnTypeAdd" Text="新增" Icon="ApplicationAdd" IconAlign="Top" OnClick="btnTypeAdd_Click"></ext:Button>
                                        <ext:Button runat="server" ID="btnTypeEdit" Text="修改" Icon="ApplicationEdit" IconAlign="Top" OnClick="btnTypeEdit_Click"></ext:Button>
                                        <ext:Button runat="server" ID="btnTypeDel" Text="删除" Icon="ApplicationDelete" IconAlign="Top" OnClick="btnTypeDel_Click" ConfirmText="您确定要这么做吗？" ConfirmTarget="Top"></ext:Button>
                                        <ext:ToolbarSeparator></ext:ToolbarSeparator>
                                    </Items>
                                </ext:Toolbar>
                            </Toolbars>
                        </ext:Tree>
                    </Items>
                </ext:Region>
                <ext:Region ID="Region2" ShowBorder="false" Hidden="false" ShowHeader="false" Position="Center"
                    Layout="Fit" runat="server" EnableIFrame="true">
                </ext:Region>
            </Regions>
        </ext:RegionPanel>
        <ext:HiddenField runat="server" ID="hidType"></ext:HiddenField>
        <ext:Window ID="Window1" Title="编辑" Popup="false" runat="server"
            Target="Self" IsModal="True" Width="300px" Height="250px" Layout="Fit" EnableBackgroundColor="true">
            <Toolbars>
                <ext:Toolbar>
                    <Items>
                        <ext:Button runat="server" ID="btn_GroupSave" OnClick="btn_GroupSave_Click" Text="保存" Icon="Accept" ></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:SimpleForm runat="server" BodyPadding="5px" ID="sim1" ShowBorder="false" LabelWidth="65px"  ShowHeader="false">
                    <Items>
                        <ext:TextBox runat="server" ID="txt_GroupNo" Label="编号"></ext:TextBox>
                        <ext:TextBox runat="server" ID="txt_GroupName" Label="名称"></ext:TextBox>
                        <ext:DropDownList runat="server" ID="Drop_TopGroupID" Label="上级类别"></ext:DropDownList>
                        <ext:DropDownList runat="server" ID="Drp_Mtype" Label="类型">
                            <ext:ListItem Text="下拉形式" Value="0" />
                            <ext:ListItem Text="树列形式" Value="1" />
                        </ext:DropDownList>
                        <ext:NumberBox runat="server" ID="txt_OrderID" Label="排序号" Text="0"></ext:NumberBox>
                    </Items>
                </ext:SimpleForm>
            </Items>
        </ext:Window>
    </form>
    <script src="../js/extgridbug.js"></script>
</body>
</html>

